﻿using System.Xml.Serialization;

namespace HamcoWcs.Models.TibcoMessage
{

    [XmlRoot("MESSAGE")]
    public class AreYouThereMessage : BaseTibcoMessage<AreYouThereMessageBody>
    {
        public AreYouThereMessage()
        {

        }
        public AreYouThereMessage(AreYouThereMessageBody body = null, string inboxName = "", string listener = "") : base("AreYouThereRequest", body, inboxName, listener)
        {
        }
    }


    public class AreYouThereMessageBody
    {
        public AreYouThereMessageBody()
        {
        }
        public AreYouThereMessageBody(string lineName)
        {
            LineName = lineName;
        }

        [XmlElement("LINENAME")]
        public string LineName { get; set; }
    }
}
